Skip to content

Conversation

allanrogerr
Copy link
Contributor

Change encrypt-key to enc-c
Keys cannot end in "="
See minio/mc#4882

Change encrypt-key to enc-c
Keys cannot end in "="
See minio/mc#4882
@allanrogerr
Copy link
Contributor Author

ubuntu@miniohq-allan-2:~$ touch test
ubuntu@miniohq-allan-2:~$ mc mb play/allan-test
Bucket created successfully `play/allan-test`.
ubuntu@miniohq-allan-2:~$ mc mb play/allan-test2
Bucket created successfully `play/allan-test2`.
ubuntu@miniohq-allan-2:~$ mc cp test play/allan-test --enc-c "play/allan-test/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo"
/home/ubuntu/test:                   8 B / 8 B ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 2 B/s 3s
ubuntu@miniohq-allan-2:~$ mc cp --recursive --enc-c "play/allan-test/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo" --enc-c "play/allan-test2/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo" play/allan-test/ play/allan-test2/
https://play.min.io/allan-test/test: 8 B / 8 B ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 92 B/s 0subuntu@miniohq-allan-2:~$ 

Copy link
Collaborator

@ravindk89 ravindk89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - though the = here should be a padding byte right? Or does that still break things.

@ravindk89
Copy link
Collaborator

whoops - ping on the padding byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants